package com.one.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@Builder
@ApiModel(description = "管理员登录视图对象")
@AllArgsConstructor
@NoArgsConstructor
public class AdminLoginVO implements Serializable {

    @ApiModelProperty(name="主键值", example = "1")
    private Long adminId; // 管理员ID

    @ApiModelProperty(name="管理员登录编码", example = "Admin")
    private String adminCode; // 管理员登录编码

    @ApiModelProperty("jwt令牌")
    private String token;
}